
<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta http-equiv="x-ua-compatible" content="ie=edge">
	<link rel="icon" href="https://jscdn.com.cn/highcharts/images/favicon.ico">
	<meta name="description" content="">
	<title>数据功能模块加载 CSV 数据</title>
	<style>
	#csv {
	display: none;
}
	</style>
	<script src="https://code.highcharts.com.cn/jquery/jquery-1.8.3.min.js"></script>
	<script src="https://code.highcharts.com.cn/highcharts/highcharts.js"></script>
	<script src="https://code.highcharts.com.cn/highcharts/modules/data.js"></script>
</head>
<body>
<!--
*************************************************************************
    Generated by JShare at 2020-08-15 17:13:44
    From: https://code.hcharts.cn/hcharts.cn/Y4M8Dg/3
*************************************************************************
-->
<div id="container"></div>
	<script>
$.get("{{ url_for('static', filename = 'cum_returns_202803.csv') }}", function(csv) {
    var chart = Highcharts.chart('container', {
        chart: {
            type: 'line'
        },
        data: {
            csv: csv       // 指定 CSV 数据
        },
        title: {
            text: '累计收益率图'
        },
        yAxis: {
            title: {
                text: '累计收益率'
            }
        }
    });
});</script>
</body>
</html>